<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录界面</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/css/login.css">
</head>

<body>
    <img id="logo" src="/assets/images/logo.png" alt="">

    <!-- 登录页面 start-->
    <div class="box login">
        <div class="login_title"></div>
        <form class="layui-form login_form" action="">
            <div class="layui-form-item item_box">
                <i class="layui-icon layui-icon-username myicon"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item item_box">
                <i class="layui-icon layui-icon-password myicon"></i>
                <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue focus" lay-submit lay-filter="formDemo">登录</button>
            </div>
            <div class="layui-form-item">
                <a href="javascript:;" class="toregistered">注册账号</a>
            </div>
        </form>
    </div>
    <!-- 登录页面 end-->

    <!-- 注册页面 start-->
    <div class="box registered">
        <div class="login_title"></div>
        <form class="layui-form login_form" action="">
            <div class="layui-form-item item_box">
                <i class="layui-icon layui-icon-username myicon"></i>
                <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item item_box">
                <i class="layui-icon layui-icon-password myicon"></i>
                <input type="password" name="password" required lay-verify="required|pass" placeholder="请输入密码" autocomplete="off" class="layui-input reg_password">
            </div>
            <div class="layui-form-item item_box">
                <i class="layui-icon layui-icon-password myicon"></i>
                <input id="re-pwd" type="password" required lay-verify="required|pass|same" placeholder="再次确认密码" autocomplete="off" class="layui-input">
            </div>
            <div class="layui-form-item">
                <button class="layui-btn layui-btn-fluid layui-bg-blue" lay-submit lay-filter="formDemo">注册</button>
            </div>
            <div class="layui-form-item">
                <a href="javascript:;" class="tologin">去登录</a>
            </div>
        </form>
    </div>
    <!-- 注册页面 end-->

    <script src="/assets/lib/jquery.js"></script>
    <script src="/assets/lib/layui/layui.all.js"></script>
    <script src="/assets/js/public.js"></script>
    <script src="/assets/js/login.js"></script>
</body>

</html>